package com.hncc.dms.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 草药模版管理对象 dms_herbal_model_item
 * 
 * @author ruoyi
 * @date 2020-08-26
 */
@ApiModel(value = "草药模版管理实体")
public class DmsHerbalModelItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty(value = "id",required = false)
    private Long id;

    /** 状态 */
    @ApiModelProperty(value = "状态",required = false)
    private Integer status;

    /** 说明 */
    @ApiModelProperty(value = "说明",required = false)
    @Excel(name = "说明")
    private String footnote;

    /** 药品id */
    @ApiModelProperty(value = "药品id",required = false)
    private Long drugId;

    /** 用量 */
    @ApiModelProperty(value = "用量",required = false)
    @Excel(name = "用量")
    private Long usageNum;

    /** 用量单位 */
    @ApiModelProperty(value = "用量单位",required = false)
    @Excel(name = "用量单位")
    private Integer usageNumUnit;

    /** 药品模板id */
    @ApiModelProperty(value = "药品模板id",required = false)
    private Long modelId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setFootnote(String footnote) 
    {
        this.footnote = footnote;
    }

    public String getFootnote() 
    {
        return footnote;
    }
    public void setDrugId(Long drugId) 
    {
        this.drugId = drugId;
    }

    public Long getDrugId() 
    {
        return drugId;
    }
    public void setUsageNum(Long usageNum) 
    {
        this.usageNum = usageNum;
    }

    public Long getUsageNum() 
    {
        return usageNum;
    }
    public void setUsageNumUnit(Integer usageNumUnit) 
    {
        this.usageNumUnit = usageNumUnit;
    }

    public Integer getUsageNumUnit() 
    {
        return usageNumUnit;
    }
    public void setModelId(Long modelId) 
    {
        this.modelId = modelId;
    }

    public Long getModelId() 
    {
        return modelId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("status", getStatus())
            .append("footnote", getFootnote())
            .append("drugId", getDrugId())
            .append("usageNum", getUsageNum())
            .append("usageNumUnit", getUsageNumUnit())
            .append("modelId", getModelId())
            .toString();
    }
}
